#ifndef RTW_HEADER_Alarm_Recov_sys_h_
#define RTW_HEADER_Alarm_Recov_sys_h_
#ifndef bms_Slave_COMMON_INCLUDES_
#define bms_Slave_COMMON_INCLUDES_
#include <math.h>
#include "rtwtypes.h"
#endif

typedef struct {
  uint16_T count;
  uint8_T is_c103_Bms_lib;
  uint8_T is_active_c103_Bms_lib;
} DW_Alarm_Recov_sys_bms_Slave_T;

typedef struct {
  uint16_T count;
  uint8_T is_c36_bms_Slave;
  uint8_T is_active_c36_bms_Slave;
} DW_Alarm_Recov_sys_T;

extern void bms_Slave_Alarm_Recov_sys_Init(boolean_T *rty_Alarm_flg);
extern void bms_Slave_Alarm_Recov_sys_Reset(boolean_T *rty_Alarm_flg,
  DW_Alarm_Recov_sys_bms_Slave_T *localDW);
extern void bms_Slave_Alarm_Recov_sys(boolean_T rtu_Err_flg, boolean_T
  rtu_Recov_flg, uint16_T rtu_Alarm_time, uint16_T rtu_Recov_time, boolean_T
  *rty_Alarm_flg, DW_Alarm_Recov_sys_bms_Slave_T *localDW);
extern void Alarm_Recov_sys_Init(boolean_T *rty_Alarm_flg);
extern void Alarm_Recov_sys(boolean_T rtu_Err_flg, boolean_T rtu_Recov_flg,
  uint16_T rtu_Alarm_time, uint16_T rtu_Recov_time, boolean_T *rty_Alarm_flg,
  DW_Alarm_Recov_sys_T *localDW);

#endif

